<?php

/*
 * To change this license header, choose License Headers in Project Properties.
 * To change this template file, choose Tools | Templates
 * and open the template in the editor.
 */

namespace App\Http\Controllers\Xwam;

/**
 * Description of Index
 *
 * @author SoChishun
 */
class Index {

    public function index() {
        $menus = [
            ['id' => 1, 'title' => '', 'icon' => '', 'url' => '', 'children' => [
                    ['id' => 1, 'title' => '', 'icon' => '', 'url' => ''],
                    ['id' => 1, 'title' => '', 'icon' => '', 'url' => ''],
                ]],
            ['id' => 1, 'title' => '', 'icon' => '', 'url' => '', 'children' => [
                    ['id' => 1, 'title' => '', 'icon' => '', 'url' => ''],
                    ['id' => 1, 'title' => '', 'icon' => '', 'url' => ''],
                ]],
            ['id' => 1, 'title' => '', 'icon' => '', 'url' => '', 'children' => [
                    ['id' => 1, 'title' => '', 'icon' => '', 'url' => ''],
                    ['id' => 1, 'title' => '', 'icon' => '', 'url' => ''],
                ]],
            ['id' => 1, 'title' => '', 'icon' => '', 'url' => '', 'children' => [
                    ['id' => 1, 'title' => '', 'icon' => '', 'url' => ''],
                    ['id' => 1, 'title' => '', 'icon' => '', 'url' => ''],
                ]],
        ];
        return view('Xwam/Index/index', ['menus' => $menus]);
    }

}
